package com.czn.service;

import com.czn.entity.Hospitalization;
import com.czn.vo.QueryVo;
import com.czn.vo.ResponseResult;
import org.beetl.sql.core.engine.PageQuery;
import org.springframework.ui.Model;

import java.util.List;

/**
 * @author ChenZeNan
 * @create 2021-04-24 19:47
 */
public interface IHospitalizationService {
    PageQuery<Hospitalization> findHospitalApplicationList(QueryVo queryVo);

    Hospitalization findHospitalizationById(Integer id);

    ResponseResult addHospitalization(Hospitalization hospitalization);

    ResponseResult editHospitalization(Hospitalization hospitalization);

    ResponseResult deleteHospitalizationById(Integer id);

    List<Hospitalization> findAll();

    Hospitalization findOneById(Integer userId);

    List<Hospitalization> findListById(Integer userId);
}
